#!python
#
# Pyste file for members of the osg namespace defined in OSGBaseFunctions.h

declaration_code("""
namespace
{

OSG::Int32 ptrGetRefCount(OSG::FieldContainerPtr ptr)
{ return ptr.getRefCount(); }

OSG::UInt32 ptrGetFieldContainerId(OSG::FieldContainerPtr ptr)
{ return ptr.getFieldContainerId(); }

}
""")


beginEditCP = Function('osg::beginEditCP', 'OpenSG/OSGFieldContainerPtr.h')
endEditCP = Function('osg::endEditCP', 'OpenSG/OSGFieldContainerPtr.h')


module_code("""

def("ptrGetRefCount", &ptrGetRefCount);
def("ptrGetFieldContainerId", &ptrGetFieldContainerId);

""")
